package ${package}.${moduleName}.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.dwliu.framework.core.mybatis.entity.BaseDO;
<#if hasBigDecimal>
import java.math.BigDecimal;
</#if>
import java.util.Date;

/**
 * ${comments!}
 *
 * @author ${author!} ${email!}
 * @date ${datetime!}
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("${tableName}")
public class ${className}DO extends BaseDO {
<#list columns as column>
	/**
	 * ${column.comment!}
	 */
	<#if column.columnName == pk.columnName>
	@TableId(type = IdType.ASSIGN_ID)
	</#if>
	private ${column.propType} ${column.propname};
</#list>

}
